﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing.plaf.basic {
    import org.aswing.*;
    import org.aswing.geom.*;
    import org.aswing.plaf.*;
    import org.aswing.graphics.*;
    import org.aswing.error.*;

    public class BasicTextComponentUI extends BaseComponentUI {

        protected var textComponent:JTextComponent;

        protected function getPropertyPrefix():String{
            throw (new ImpMissError());
        }
        override public function paint(_arg1:Component, _arg2:Graphics2D, _arg3:IntRectangle):void{
            super.paint(_arg1, _arg2, _arg3);
        }
        override protected function paintBackGround(_arg1:Component, _arg2:Graphics2D, _arg3:IntRectangle):void{
        }
        override public function installUI(_arg1:Component):void{
            this.textComponent = JTextComponent(_arg1);
            this.installDefaults();
            this.installComponents();
            this.installListeners();
        }
        override public function uninstallUI(_arg1:Component):void{
            this.textComponent = JTextComponent(_arg1);
            this.uninstallDefaults();
            this.uninstallComponents();
            this.uninstallListeners();
        }
        protected function installDefaults():void{
            var _local1:String = this.getPropertyPrefix();
            LookAndFeel.installColorsAndFont(this.textComponent, _local1);
            LookAndFeel.installBorderAndBFDecorators(this.textComponent, _local1);
            LookAndFeel.installBasicProperties(this.textComponent, _local1);
        }
        protected function uninstallDefaults():void{
            LookAndFeel.uninstallBorderAndBFDecorators(this.textComponent);
        }
        protected function installComponents():void{
        }
        protected function uninstallComponents():void{
        }
        protected function installListeners():void{
        }
        protected function uninstallListeners():void{
        }
        override public function getMaximumSize(_arg1:Component):IntDimension{
            return (IntDimension.createBigDimension());
        }
        override public function getMinimumSize(_arg1:Component):IntDimension{
            return (_arg1.getInsets().getOutsideSize());
        }

    }
}//package org.aswing.plaf.basic 
